d549d28c42391e096c5d1a56073f2b1e7ebecfd9,HTML_Renderer/src/main/java/org/lobobrowser/html/renderstate/StyleSheetRenderState.java,StyleSheetRenderState,getBackgroundInfo,#,847
Before Change
if (binfo == null) {
binfo = new BackgroundInfo();
}
binfo.setBackgroundColor(ColorFactory.getInstance().getColor(backgroundColorText));
}
String backgroundImageText = props.getBackgroundImage();
if ((backgroundImageText != null) && (backgroundImageText.length() > 0)) {
After Change
}
if(CSSValuesProperties.INHERIT.equalsIgnoreCase(backgroundColorText)) {
binfo.setBackgroundColor(this.getPreviousRenderState().getBackgroundColor());
} else{
binfo.setBackgroundColor(ColorFactory.getInstance().getColor(backgroundColorText));
}
}
String backgroundImageText = props.getBackgroundImage();